New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adds billing service #85
Conversation
abb39d9
to
637c050
Compare
app/models/measure_token.rb
Outdated
| @@ -19,4 +19,9 @@ def already_exist? | |||
| return false | |||
| end | |||
|
|
|||
| # TODO: anything special planned here? | |||
| def is_unique? | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what was supposed to happen here, but this method was referenced in the model, so I needed to stub it for things not to break during tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is_unique? should not be used, it does not exist any more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I've removed it, thanks !
7a04509
to
5a8831c
Compare
|
I used |
|
@conradkleinespel |
7cc5aa0
to
7b5cae2
Compare
|
@jgigault I just pushed the last changes for the first version of the BillingService. It currently does the following things:
Let me know what you think |
|
@jgigault One more thing, the PDF is currently saved to |
the billing service generates bills from measurement data and generates PDFs that sum up the different bills that a client has each month
b77d293
to
0a69e00
Compare
Adds service that can be used to created a bill for a given contract and month.
Todo: